| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

JsonExporter.h
1 // JsonExporter.h
3 //
5
6 namespace nkExport
7 {
17 class JsonExporter final
18 {
19 public :
20
21 // Export
30 static nkMemory::String exportObjectIntoString (Exportable* toExport) ;
37 static nkMemory::String exportTreeIntoString (Node* rootNode) ;
38
39 // Import
47 static ExporterLoadResult importIntoTree (nkMemory::StringView strVal) ;
48 } ;
49 }
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkExport::JsonExporter::exportObjectIntoString
static nkMemory::String exportObjectIntoString(Exportable *toExport)
nkExport
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
nkExport::ExporterLoadResult
Holds the information about a try to import data sources.
Definition: ExporterLoadResult.h:15
nkExport::JsonExporter::importIntoTree
static ExporterLoadResult importIntoTree(nkMemory::StringView strVal)
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkMemory::String
Class holding information about a string, with ownership over the data.
Definition: String.h:22
nkExport::JsonExporter
Exporter to use Json formatted data.
Definition: JsonExporter.h:18
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkExport::JsonExporter::exportTreeIntoString
static nkMemory::String exportTreeIntoString(Node *rootNode)